package com.wzb.provider.service.impl;

import com.wzb.service.GoodNightService;
import org.apache.dubbo.config.annotation.Service;

@Service(version = "1.0.0",interfaceClass = GoodNightService.class)
public class GoodNightServiceImpl implements GoodNightService {
    @Override
    public String goodNight() {
        try {
            Thread.sleep((long) (Math.random()*100));
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return "goodNight";
    }
}
